﻿using UnityEngine;

public class DestroyObject : MonoBehaviour
{
    public float Interval;

    // Start is called before the first frame update
    void Start() => Destroy(gameObject, Interval);
}
